package org.cmcc.pcap.voltePcapParse.pcap;


/**
 * SCTPDataChunk 包头：由4个域组成，每个域各占用2个字节
 * @author starfish
 *
 */
public class SCTPDataChunk {
	private String chunkType;			 
	private String chunkFlags;			 
	private int chunkLength;	
	private String tsn;			 
	private String sid;			 
	private String ssn;			 
	private String ppid;
	
	
	
	public String getChunkType() {
		return chunkType;
	}

	public void setChunkType(String chunkType) {
		this.chunkType = chunkType;
	}

	public String getChunkFlags() {
		return chunkFlags;
	}

	public void setChunkFlags(String chunkFlags) {
		this.chunkFlags = chunkFlags;
	}

	public int getChunkLength() {
		return chunkLength;
	}

	public void setChunkLength(int chunkLength) {
		this.chunkLength = chunkLength;
	}

	public String getTsn() {
		return tsn;
	}

	public void setTsn(String tsn) {
		this.tsn = tsn;
	}

	public String getSid() {
		return sid;
	}

	public void setSid(String sid) {
		this.sid = sid;
	}

	public String getSsn() {
		return ssn;
	}

	public void setSsn(String ssn) {
		this.ssn = ssn;
	}

	public String getPpid() {
		return ppid;
	}

	public void setPpid(String ppid) {
		this.ppid = ppid;
	}

	public SCTPDataChunk() {}

	@Override
	public String toString() {
		return "<b>DATA chunk(chunkType:</b> DATA(" + chunkType+"),<b>chunkFlags:</b>"+ chunkFlags
		+ ",<b>chunkLength</b>" + chunkLength
		+ ",<b>TSN:</b>" + tsn
		+ ",<b>SID:</b>" + sid
		+ ",<b>SSN:</b>" + ssn
		+ ",<b>PPID:</b>" + ppid+")";
		
	}
}
